package tasks;

import core.Message;
import core.MessageQueue;

public class SendMessage implements Runnable {    
    private Message message;
    
    public SendMessage(Message message){        
        this.message = message;        
    }
    
	@Override
	public void run() {
         MessageQueue.getMessageQueue().add(this.message);
	}

}
